﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace IRM.Messaging.Console
{
    class Program
    {
        static void Main(string[] args)
        {
            IDbConnection connection = new System.Data.SqlClient.SqlConnection(Properties.Settings.Default.ApplicationQueueConnectionString);
            MessageHandler handler = new MessageHandler(connection);
            handler.StartHandleAllMessages(true);
        }
    }
}
